<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
.from_html { color: blue; }
.append_later { color: green; }
.text_set_later { color: yellow; }
.is_not_in_doc { color: grey; }
</style>
</head>
<body>
<p class="from_html">Style from html element</p>
<p class="append_later">Style from an element added in javascript</p>
<p class="text_set_later">Style from an element with content set in javascript</p>
<p class="is_not_in_doc">Style that is never in the document</p>
</body>
</html>
